package com.tm;

/**
 * 2024/4/25
 * **/
public class Demo9 {
    public static void main(String[] args) {
        //掌握：关系运算符的基本使用
         int a=10;
         int b=5;
         boolean rs=a>b;
         System.out.println(rs);

        System.out.println(a >= b); //要么a大于b,要么a等于b
        System.out.println(2 >=2);
        System.out.println(a<b);
        System.out.println(a<=b);
        System.out.println(2<=2);
        System.out.println(a>b);
        System.out.println(a!=b); //true
        System.out.println(10!=10);//false

        
    }
}
